﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebMenuManager.aspx.cs" Inherits="WebPubManager_WebMenuManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>申报菜单管理</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 90%; margin: 0px auto; text-align: center;">
        <table class="tab_top" width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17">
                    <img src="../images/tab_top_left.gif" width="17" height="35" alt="" />
                </td>
                <td  align="center">
                    &nbsp;
                </td>
                <td>
                    <a href="editWebMenu.aspx">添加根菜单</a>
                </td>
                <td width="5" align="right">
                    <img src="../images/tab_top_right.gif" width="5" height="35" alt="" />
                </td>
            </tr>
        </table>
        <controlDefine:CustomGridView ID="gridviewCar" runat="server" AllowPaging="False"
            SkinID="List" Width="100%" HideTextLength="30" DivFstClass-DivButtonClass="input"
            AutoGenerateColumns="False" DivScdClass-DivButtonClass="input" DivTrdClass-DivButtonClass="input"
            ShowCmpAndCancel="False" AllowOnMouseOverEvent="False" ShowItemNumber="True"
            AutoGenerateDeleteConfirm="True" CustomSortExpression="" AllowSortingAscImgCss=""
            AllowSortingDescImgCss="" ShowHideColModel="Menu" OnRowCreated="gridviewCar_RowCreated"
            OnOnLoadData="recvgrid_OnLoadData">
            <PagerSettings Visible="False" />
            <Columns>
                <asp:BoundField HeaderText="父菜单名" DataField="parentmenu" />
                <asp:BoundField HeaderText="子菜单名" DataField="childmenu" />
                <asp:BoundField HeaderText="路径" DataField="menu_url" />
                <asp:TemplateField HeaderText="编辑菜单">
                    <ItemTemplate>
                        <asp:HyperLink ID="hyedit" runat="server" Text="编辑"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="删除菜单">
                    <ItemTemplate>
                        <asp:HyperLink ID="hydel" runat="server" Text="删除"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="新增">
                    <ItemTemplate>
                        <asp:HyperLink ID="hyadd" runat="server" Text="新增"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </controlDefine:CustomGridView>
    </div>
    </form>
</body>
</html>
